Platform Explorer / Nuxeo Platform 2021.62

Operation NuxeoDrive.AttachBlob (Nuxeo Drive: Attach blob)

Description

Update the given document with the input blob. Return the input blob.
Operation id NuxeoDrive.AttachBlob
Category Services
Label Nuxeo Drive: Attach blob
Requires
Since

Parameters

Name Description Type Required Default value
document The document to update. document yes  
applyVersioningPolicy boolean no false 
factoryName string no defaultFileSystemItemFactory 

Signature

Inputs blob
Outputs blob

Implementation Information

Implementation Class Class: org.nuxeo.drive.operations.NuxeoDriveAttachBlob
Contributing Component org.nuxeo.drive.operations.NuxeoDriveGetRootsOperation

JSON Definition

{
  "id" : "NuxeoDrive.AttachBlob",
  "label" : "Nuxeo Drive: Attach blob",
  "category" : "Services",
  "requires" : null,
  "description" : "Update the given document with the input blob. Return the input blob.",
  "url" : "NuxeoDrive.AttachBlob",
  "signature" : [ "blob", "blob" ],
  "params" : [ {
    "name" : "document",
    "description" : "The document to update.",
    "type" : "document",
    "required" : true,
    "widget" : null,
    "order" : 0,
    "values" : [ ]
  }, {
    "name" : "applyVersioningPolicy",
    "description" : null,
    "type" : "boolean",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ "false" ]
  }, {
    "name" : "factoryName",
    "description" : null,
    "type" : "string",
    "required" : false,
    "widget" : null,
    "order" : 0,
    "values" : [ "defaultFileSystemItemFactory" ]
  } ]
}